package com.dayouzi.crawler_monitor.pojo.vo;

import com.dayouzi.crawler_monitor.pojo.page.PageBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CrawlerDetailVO", description="爬虫详情展示类")
public class CrawlerDetailVO {

    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "爬虫名称")
    private String codeName;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "服务器")
    private String machine;

    @ApiModelProperty(value = "爬虫类型")
    private Integer spiderType;

    @ApiModelProperty(value = "最近运行时间")
    private String lastTime;

    @ApiModelProperty(value = "负责人")
    private String person;

    @ApiModelProperty(value = "类路径")
    private String classpath;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "定时任务id")
    private Integer scheduledId;

    @ApiModelProperty(value = "定时任务名称")
    private String scheduledName;

    @ApiModelProperty(value = "程序语言")
    private Integer isJava;

    @ApiModelProperty(value = "是否为pdf")
    private String isPdf;

    @ApiModelProperty(value = "最后一条数据的链接")
    private String url;

    @ApiModelProperty(value = "地区id")
    private Integer areaId;

    @ApiModelProperty(value = "错误数据列表")
    private PageBean<CrawlerDetailListVO> errList;

}
